<template>
	<div class="buttShowCang" @click="btn" >
		{{msg}}
	</div>
</template>

<script>
	export default {
		name: 'buttShowCang',
		props: {
			msg: String
		},
		methods:{
			btn(){
				this.$emit("fun")
			}
		}
	}
</script>

<style>
	.buttShowCang{
		color: #fff;
		font-size: 13px;
		padding:10px 40px;
		border-radius: 20px;
		background-color: #4b943d;
		display: inline-block;
		cursor: pointer;
	}
</style>
